﻿using System.Collections;
using System.Web.SessionState;

namespace com.bodurov.SessionRecovery.Interfaces
{
    public interface ISessionRecoveryManager
    {
        Hashtable RestoreIfExists(HttpSessionState session);
        // we need this method so we can test it outside web environment
        Hashtable RestoreIfExists(string sessionID);
        void SaveIfEnabled(HttpSessionState session);
        // we need this method so we can test it outside web environment
        void SaveIfEnabled(Hashtable data, string sessionID);
        bool IsEnabled { get; set; }

    }
}
